<template>
  <el-card>
    <h3>{{ orderDetail.orderName }}</h3>
    <el-descriptions :column="2" border>
      <el-descriptions-item label="订单号">{{ orderDetail.orderNumber }}</el-descriptions-item>
      <el-descriptions-item label="下单用户">{{ orderDetail.userName }}</el-descriptions-item>
      <el-descriptions-item label="订单金额">￥{{ orderDetail.amount }}</el-descriptions-item>
      <el-descriptions-item label="订单状态">
        <el-tag :type="statusType(orderDetail.status)">{{ orderDetail.status }}</el-tag>
      </el-descriptions-item>
    </el-descriptions>
  </el-card>
</template>